﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Mangox.Model.Common
{
    public class FindByPageBase
    {
        /// <summary>
        /// 页码
        /// </summary>
        [Required]
        public int PageNumber { get; set; }
        /// <summary>
        /// 每页显示行数
        /// </summary>
        [Required]
        public int PageSize { get; set; }
        /// <summary>
        /// 排序字段
        /// </summary>
        public string SortColumn { get; set; }
        /// <summary>
        /// 排序类型 升asc  降desc
        /// </summary>
        public string SortOrder { get; set; }
    }
}
